package com.cn.yugan.Native.Model;


import java.util.Date;

/**
 * Created by Rover on 2016/8/8 .
 * Email 357319517@qq.com
 * <p/>
 * <p/>
 * <p/>
 * 字段是:
 * 1,id 			唯一编号
 * 2,u_id			执行搜索的用户唯一编号
 * 3,key_str		搜索关键词
 * 4,search_time	执行搜索的时间点(时间戳,毫秒值-用来进行倒排序)
 * 逻辑:
 * u_id和key一样的话,修改search_time为当前时间.
 */
public class Search {
    private int u_id;
    private String key_str;
    private Date search_time;

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public String getKey_str() {
        return key_str;
    }

    public void setKey_str(String key_str) {
        this.key_str = key_str;
    }

    public Date getSearch_time() {
        return search_time;
    }

    public void setSearch_time(Date search_time) {
        this.search_time = search_time;
    }
}
